package com.xinchao.model.vo;

import com.xinchao.core.util.DateUtils;

/**
 * 
 * <p>Title: DeviceUpgradeListVO</p>
 * <p>Description: </p>  
 * @author huangf 
 * @date 2018年7月12日
 */
public class DeviceUpgradeListVO {
	/** 终端升级主键 */
	private Long deviceUpgradeId;
	/** 升级包名称 */
	private String upgradeName;
	/** 对应机型 */
	private String modelName;
	/** 大小 */
	private String size;
	/** 版本名称 */
	private String versionName;
	/** 版本号 */
	private Integer versionCode;
	/** 更新时间 */
	private Long updateTime;
	/** 版本说明 */
	private String description;
	/** 下载地址 */
	private String url;

	public Long getDeviceUpgradeId() {
		return deviceUpgradeId;
	}

	public void setDeviceUpgradeId(Long deviceUpgradeId) {
		this.deviceUpgradeId = deviceUpgradeId;
	}

	public String getUpgradeName() {
		return upgradeName;
	}

	public void setUpgradeName(String upgradeName) {
		this.upgradeName = upgradeName;
	}

	public String getModelName() {
		return modelName;
	}

	public void setModelName(String modelName) {
		this.modelName = modelName;
	}

	public String getSize() {
		return size;
	}
	
	public void setSize(String size) {
		this.size = size;
	}

	public String getVersionName() {
		return versionName;
	}

	public void setVersionName(String versionName) {
		this.versionName = versionName;
	}

	public Integer getVersionCode() {
		return versionCode;
	}

	public void setVersionCode(Integer versionCode) {
		this.versionCode = versionCode;
	}

	public Long getUpdateTime() {
		return updateTime;
	}
	
	public String getUpdateTimeDesc() {
		if ( null == updateTime ) {return null;}
		return DateUtils.longTimeStampToStringDate(updateTime, DateUtils.PATTEN_YMD_HMS);
	}
	
	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

}
